editorfor date format mvc

58

editorfor date format mvc -

@Html.EditorFor(model => model.Property, new {htmlAttributes = new {@Value = @Model.Property.ToString("yyyy-MM-dd"), @class = "customclass" } })

Comments

Submit
0 Comments